The Dreamweaver JavaScript API > File manipulation functions > dreamweaver.closeDocument()

 

dreamweaver.closeDocument()

Availability

Dreamweaver 3.0

Description

Closes the specified document.

Arguments

documentObject

documentObject is the object at the root of a document's DOM tree (the value returned by dreamweaver.getDocumentDOM()). If documentObject refers to the active document, the Document window might not close until the script that calls this function finishes executing.

Returns

Nothing.

Enabler

None.